package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 检查记录对象 inspection_record
 *
 * @author qichi
 * @date 2023-07-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class InspectionRecordVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 检查记录id
     */
    private Long id;

    /**
     * 租户id
     */
    @Excel(name = "租户id")
    private Long tenantId;

    /**
     * 部门id
     */
    @Excel(name = "部门id")
    private Long deptId;

    /**
     * 宠物id
     */
    @Excel(name = "宠物id")
    private Long petId;

    /**
     * 客户id
     */
    @Excel(name = "客户id")
    private Long customerId;

    /**
     * 处方id
     */
    @Excel(name = "处方id")
    private Long prescriptionId;

    /**
     * 处方编号
     */
    @Excel(name = "处方编号")
    private String prescriptionCode;

    /**
     * 检查项目id
     */
    @Excel(name = "检查项目id")
    private Long inspectionId;

    /**
     * 检查项目id
     */
    @Excel(name = "检查项目")
    private String inspectionName;

    /**
     * 检查项目编号
     */
    @Excel(name = "检查项目编号")
    private String inspectionCode;

    /**
     * 检查次数
     */
    @Excel(name = "检查次数")
    private Long number;

    /**
     * 检查位置
     */
    @Excel(name = "检查位置")
    private String address;

    /**
     * 检查时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionTime;

    /**
     * 检查状态0未开始1检查中2已完成
     */
    @Excel(name = "检查状态0未开始1检查中2已完成")
    private Integer inspectionStatus;

    /**
     * 检查结果
     */
    @Excel(name = "检查结果")
    private String inspectionResult;

    /**
     * 设备SN码
     */
    @Excel(name = "设备SN码")
    private String sn;

    /**
     * 就诊单id
     */
    @Excel(name = "就诊单id")
    private Long consultationId;

    /**
     * 就诊单编码
     */
    @Excel(name = "就诊单编码")
    private String consultationNo;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    /**
     * 总金额
     */
    private BigDecimal sumPrice;

    /**
     * 客户名称
     */
    private String customerName;

}
